#ifndef DE_DATA_H
#define DE_DATA_H
#include <QByteArray>
#include <QString>
#include <QDebug>

typedef struct _DEVICE_INFOMATION_
{
	QString device_id;
	QString imei;
	QString cc_domain;
	QString fly900_domain;
	QString BT_MAC;
	QString fly900_version;
	QString cc_version;
	QString cusid;
}Device_Info;

class de_data
{
public:
	de_data();
	~de_data();
	bool is_receive_complete(QByteArray &data);
	//bool is_write_devID_success(QByteArray &data, QString &st);

public:
	QString get_user_info(const QString &dst);
	QString gei_info(QString & dst,const char *compa1,const char *compa2,quint8 size_t);
	bool isnum(QString str);
public:
	Device_Info *info;
};

#endif // DE_DATA_H
